package com.bcbim.smart_water_interface.inspection.service;

import com.bcbim.common.sys.Code;
import com.bcbim.smart_water_interface.inspection.dao.InspectionDAO;
import com.bcbim.smart_water_interface.inspection.dto.InspectionStatisticsDTO;
import com.bcbim.smart_water_interface.inspection.vo.ListInspectionVO;

import java.util.List;

/**
 * @version V 1.0.0
 * @Description：
 * @Author: haomeijie
 * @Date: 2021/11/10 16:06
 **/
public interface InspectionService {

    int insertInspection(InspectionDAO inspectionDAO);

    int updateInspection(InspectionDAO inspectionDAO);

    String selectInspectionCountByUserId(String userId);

    int listInspectionCount(InspectionStatisticsDTO inspectionStatisticsDTO);

    List<ListInspectionVO> listInspection(InspectionStatisticsDTO inspectionStatisticsDTO);

    int getProblemTotal(InspectionStatisticsDTO inspectionStatisticsDTO);

    List<Code> listInspectionByUserId(String userId);

}
